﻿package com.htmlparser;

import java.awt.Dimension;
import java.awt.Toolkit;

public class Screen {
	
	Toolkit tk=Toolkit.getDefaultToolkit(); 
	Dimension screenSize=tk.getScreenSize();
	
	public int availWidth = screenSize.width;
	public int availHeight = screenSize.height; 
	
	public int bufferDepth;
	public int colorDepth;
	public int deviceXDPI;
	public int deviceYDPI;
	public boolean fontSmoothingEnabled;
	public int logicalXDPI;
	public int logicalYDPI;
	public int pixelDepth;
	public int updateInterval;
	public int width;
	
	public static void main(String[] args) {
		Screen screen = new Screen();
		System.out.println(screen.availWidth);
		System.out.println(screen.availHeight);
	}
}
